﻿<?php
require '../bin/DBA/DB.class.php';
require '../bin/DAL/CategoriesDAL.php';
require '../bin/BLL/CategoriesBLL.php';
require '../bin/DAL/Parameter.class.php';
if ($_GET["guid"] != null)
{
	$guid = $_GET["guid"];
	$fromUrl = $_SERVER["HTTP_REFERER"];
	CategoriesBLL::DelByCategories();
	Message::showandgoto("删除成功!",$fromUrl);
}
else
{
	header("ModCategories.php");
}
?>